/***********************************************************************************************************************************
Remote Storage
***********************************************************************************************************************************/
#ifndef STORAGE_REMOTE_STORAGE_H
#define STORAGE_REMOTE_STORAGE_H

#include "protocol/client.h"
#include "storage/storage.h"

/***********************************************************************************************************************************
Storage type
***********************************************************************************************************************************/
#define STORAGE_REMOTE_TYPE                                         STRID5("remote", 0xb47b4b20)

/***********************************************************************************************************************************
Constructors
***********************************************************************************************************************************/
FN_EXTERN Storage *storageRemoteNew(
    mode_t modeFile, mode_t modePath, bool write, time_t targetTime, StoragePathExpressionCallback pathExpressionFunction,
    ProtocolClient *client, unsigned int compressLevel);

#endif
